package pers.luchuan.consumer.feign;

import org.springframework.stereotype.Component;

/**
 * 针对feign请求进行熔断降级
 */
@Component
public class ServiceProviderFeignClientCallBack implements ServiceProviderFeignClient {
    /**
     * 降级方法
     * @return
     */
    @Override
    public String test(Long id) {
        return "feign熔断降级";
    }
}
